package com.ruoyi.quartz.task;

import com.ruoyi.basicsystem.service.IZnAgreementService;
import com.ruoyi.common.utils.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 协议价生效任务
 *
 * @author nexiaozi
 */
@Component("agreementTask")
public class AgreementTask
{
    @Autowired
    private IZnAgreementService agreementService;
    public void refreshEffect()
    {
        agreementService.refreshEffect();
        System.out.println("执行无参方法");
    }
}
